[INFO] cloning repository https://github.com/ESukmean/process-memory-reader-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ESukmean/process-memory-reader-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FESukmean%2Fprocess-memory-reader-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FESukmean%2Fprocess-memory-reader-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 79d349a8d300b13f60a85ad70f3cd5514289ebb7
[INFO] building ESukmean/process-memory-reader-rust against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FESukmean%2Fprocess-memory-reader-rust" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ESukmean/process-memory-reader-rust on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ESukmean/process-memory-reader-rust
[INFO] finished tweaking git repo https://github.com/ESukmean/process-memory-reader-rust
[INFO] tweaked toml for git repo https://github.com/ESukmean/process-memory-reader-rust written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] crate git repo https://github.com/ESukmean/process-memory-reader-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8930675a3c4801589e3a9666278011e74f5fdf4a11621838edf672f01d9dd6f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a8930675a3c4801589e3a9666278011e74f5fdf4a11621838edf672f01d9dd6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8930675a3c4801589e3a9666278011e74f5fdf4a11621838edf672f01d9dd6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8930675a3c4801589e3a9666278011e74f5fdf4a11621838edf672f01d9dd6f", kill_on_drop: false }`
[INFO] [stdout] a8930675a3c4801589e3a9666278011e74f5fdf4a11621838edf672f01d9dd6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb61a0e5e6e3df74200ece600ea5d4ff0f06d74cda7cf1d98ce7bbab6efa9ff2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "eb61a0e5e6e3df74200ece600ea5d4ff0f06d74cda7cf1d98ce7bbab6efa9ff2", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling memory_antivirus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/read.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::minwindef::*;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/read.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/read.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use winapi::ctypes::*;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/read.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 |     handle: winapi::um::winnt::HANDLE,
[INFO] [stdout]   |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let handle = unsafe { winapi::um::tlhelp32::CreateToolhelp32Snapshot(8, pid) };
[INFO] [stdout]    |                                       ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:23:52
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn read(&mut self) -> std::io::Result<winapi::um::tlhelp32::MODULEENTRY32> {
[INFO] [stdout]    |                                                       ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:24:28
[INFO] [stdout]    |
[INFO] [stdout] 24 |         let mut result = winapi::um::tlhelp32::MODULEENTRY32::default();
[INFO] [stdout]    |                                  ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:25:47
[INFO] [stdout]    |
[INFO] [stdout] 25 |         result.dwSize = std::mem::size_of::<winapi::um::tlhelp32::MODULEENTRY32>() as u32;
[INFO] [stdout]    |                                                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 unsafe { winapi::um::tlhelp32::Module32First(self.handle, &mut result) }
[INFO] [stdout]    |                                  ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:33:30
[INFO] [stdout]    |
[INFO] [stdout] 33 |             false => unsafe { winapi::um::tlhelp32::Module32Next(self.handle, &mut result) },
[INFO] [stdout]    |                                       ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |             winapi::um::handleapi::CloseHandle(self.handle);
[INFO] [stdout]    |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:71:22
[INFO] [stdout]    |
[INFO] [stdout] 71 |     type Item = winapi::um::tlhelp32::MODULEENTRY32;
[INFO] [stdout]    |                         ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |             winapi::um::processthreadsapi::OpenProcess(
[INFO] [stdout]    |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/read.rs:86:13
[INFO] [stdout]    |
[INFO] [stdout] 86 |                 winapi::um::winnt::PROCESS_VM_READ,
[INFO] [stdout]    |                         ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/read.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |                 winapi::shared::minwindef::FALSE,
[INFO] [stdout]    |                         ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/read.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 |             winapi::um::memoryapi::ReadProcessMemory(
[INFO] [stdout]     |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/read.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 |             winapi::um::handleapi::CloseHandle(self.process_handle);
[INFO] [stdout]     |                     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]    --> src/read.rs:132:22
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub module: winapi::um::tlhelp32::MODULEENTRY32,
[INFO] [stdout]     |                         ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/read.rs:12:18
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn new(pid: DWORD) -> std::io::Result<Self> {
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/read.rs:79:18
[INFO] [stdout]    |
[INFO] [stdout] 79 |     process_handle: HANDLE,
[INFO] [stdout]    |                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/read.rs:83:18
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn new(pid: DWORD) -> std::io::Result<Self> {
[INFO] [stdout]    |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope
[INFO] [stdout]    --> src/read.rs:106:20
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 addr as *const c_void,
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 1   | use core::ffi::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 1   | use std::os::raw::c_void;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]    --> src/read.rs:107:25
[INFO] [stdout]     |
[INFO] [stdout] 107 |                 buf.as_mut_ptr() as LPVOID,
[INFO] [stdout]     |                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]    --> src/read.rs:141:18
[INFO] [stdout]     |
[INFO] [stdout] 141 |     pub fn new(pid: DWORD) -> std::io::Result<Self> {
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep`
[INFO] [stdout]   --> src/main.rs:43:3
[INFO] [stdout]    |
[INFO] [stdout] 43 |         std::thread::sleep_ms(1000);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memory_antivirus`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "eb61a0e5e6e3df74200ece600ea5d4ff0f06d74cda7cf1d98ce7bbab6efa9ff2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb61a0e5e6e3df74200ece600ea5d4ff0f06d74cda7cf1d98ce7bbab6efa9ff2", kill_on_drop: false }`
[INFO] [stdout] eb61a0e5e6e3df74200ece600ea5d4ff0f06d74cda7cf1d98ce7bbab6efa9ff2
